﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessClass.StateMachine.Core;
using BusinessClass.StateMachine.Core.Types;

namespace BusinessClass.StateMachine
{
    /// <summary>
    /// 生成txt文件状态点
    /// </summary>
    public class MakeFileState : ISate<Unit>
    {
        public dynamic Config { get; private set; }
        public MakeFileState(dynamic config)
        {
            Config = config;
        }

        public Unit Accept(Machine m)
        {
            m.VisitMakeFile(this);
            return new Unit();
        }
    }
}
